﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020010FD RID: 4349
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectChatBubbleScRsp : IMessage<SelectChatBubbleScRsp>, IMessage, IEquatable<SelectChatBubbleScRsp>, IDeepCloneable<SelectChatBubbleScRsp>, IBufferMessage
	{
		// Token: 0x17003716 RID: 14102
		// (get) Token: 0x0600C290 RID: 49808 RVA: 0x0020E689 File Offset: 0x0020C889
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectChatBubbleScRsp> Parser
		{
			get
			{
				return SelectChatBubbleScRsp._parser;
			}
		}

		// Token: 0x17003717 RID: 14103
		// (get) Token: 0x0600C291 RID: 49809 RVA: 0x0020E690 File Offset: 0x0020C890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectChatBubbleScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003718 RID: 14104
		// (get) Token: 0x0600C292 RID: 49810 RVA: 0x0020E6A2 File Offset: 0x0020C8A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectChatBubbleScRsp.Descriptor;
			}
		}

		// Token: 0x0600C293 RID: 49811 RVA: 0x0020E6A9 File Offset: 0x0020C8A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChatBubbleScRsp()
		{
		}

		// Token: 0x0600C294 RID: 49812 RVA: 0x0020E6B1 File Offset: 0x0020C8B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChatBubbleScRsp(SelectChatBubbleScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.kDPAKGLGGOH_ = other.kDPAKGLGGOH_;
			this.curChatBubble_ = other.curChatBubble_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C295 RID: 49813 RVA: 0x0020E6EE File Offset: 0x0020C8EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChatBubbleScRsp Clone()
		{
			return new SelectChatBubbleScRsp(this);
		}

		// Token: 0x17003719 RID: 14105
		// (get) Token: 0x0600C296 RID: 49814 RVA: 0x0020E6F6 File Offset: 0x0020C8F6
		// (set) Token: 0x0600C297 RID: 49815 RVA: 0x0020E6FE File Offset: 0x0020C8FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700371A RID: 14106
		// (get) Token: 0x0600C298 RID: 49816 RVA: 0x0020E707 File Offset: 0x0020C907
		// (set) Token: 0x0600C299 RID: 49817 RVA: 0x0020E70F File Offset: 0x0020C90F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KDPAKGLGGOH
		{
			get
			{
				return this.kDPAKGLGGOH_;
			}
			set
			{
				this.kDPAKGLGGOH_ = value;
			}
		}

		// Token: 0x1700371B RID: 14107
		// (get) Token: 0x0600C29A RID: 49818 RVA: 0x0020E718 File Offset: 0x0020C918
		// (set) Token: 0x0600C29B RID: 49819 RVA: 0x0020E720 File Offset: 0x0020C920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CurChatBubble
		{
			get
			{
				return this.curChatBubble_;
			}
			set
			{
				this.curChatBubble_ = value;
			}
		}

		// Token: 0x0600C29C RID: 49820 RVA: 0x0020E729 File Offset: 0x0020C929
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectChatBubbleScRsp);
		}

		// Token: 0x0600C29D RID: 49821 RVA: 0x0020E738 File Offset: 0x0020C938
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectChatBubbleScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.KDPAKGLGGOH == other.KDPAKGLGGOH && this.CurChatBubble == other.CurChatBubble && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C29E RID: 49822 RVA: 0x0020E794 File Offset: 0x0020C994
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.KDPAKGLGGOH != 0U)
			{
				num ^= this.KDPAKGLGGOH.GetHashCode();
			}
			if (this.CurChatBubble != 0U)
			{
				num ^= this.CurChatBubble.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C29F RID: 49823 RVA: 0x0020E805 File Offset: 0x0020CA05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C2A0 RID: 49824 RVA: 0x0020E80D File Offset: 0x0020CA0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C2A1 RID: 49825 RVA: 0x0020E818 File Offset: 0x0020CA18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CurChatBubble != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.CurChatBubble);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this.KDPAKGLGGOH != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.KDPAKGLGGOH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C2A2 RID: 49826 RVA: 0x0020E890 File Offset: 0x0020CA90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.KDPAKGLGGOH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KDPAKGLGGOH);
			}
			if (this.CurChatBubble != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CurChatBubble);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C2A3 RID: 49827 RVA: 0x0020E900 File Offset: 0x0020CB00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectChatBubbleScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.KDPAKGLGGOH != 0U)
			{
				this.KDPAKGLGGOH = other.KDPAKGLGGOH;
			}
			if (other.CurChatBubble != 0U)
			{
				this.CurChatBubble = other.CurChatBubble;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C2A4 RID: 49828 RVA: 0x0020E964 File Offset: 0x0020CB64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C2A5 RID: 49829 RVA: 0x0020E970 File Offset: 0x0020CB70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 104U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.KDPAKGLGGOH = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.CurChatBubble = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004E91 RID: 20113
		private static readonly MessageParser<SelectChatBubbleScRsp> _parser = new MessageParser<SelectChatBubbleScRsp>(() => new SelectChatBubbleScRsp());

		// Token: 0x04004E92 RID: 20114
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004E93 RID: 20115
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04004E94 RID: 20116
		private uint retcode_;

		// Token: 0x04004E95 RID: 20117
		public const int KDPAKGLGGOHFieldNumber = 15;

		// Token: 0x04004E96 RID: 20118
		private uint kDPAKGLGGOH_;

		// Token: 0x04004E97 RID: 20119
		public const int CurChatBubbleFieldNumber = 4;

		// Token: 0x04004E98 RID: 20120
		private uint curChatBubble_;
	}
}
